home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / iritsm3s.zip / GENMAT.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  1KB  |  33 lines

  1. /*****************************************************************************
  2. * General definitions of/for GenMat.c module                     *
  3. *****************************************************************************/
  4.  
  5. #ifndef    GEN_MAT_H
  6. #define GEN_MAT_H
  7.  
  8. /* And prototypes of the functions: */
  9.  
  10. #if defined(__cplusplus) || defined(c_plusplus)
  11. extern "C" {
  12. #endif
  13.  
  14. void GenUnitMat(MatrixType Mat);
  15. void GenMatTrans(RealType Tx, RealType Ty, RealType Tz, MatrixType Mat);
  16. void GenMatScale(RealType Sx, RealType Sy, RealType Sz, MatrixType Mat);
  17. void GenMatRotX1(RealType Teta, MatrixType Mat);
  18. void GenMatRotX(RealType CosTeta, RealType SinTeta, MatrixType Mat);
  19. void GenMatRotY1(RealType Teta, MatrixType Mat);
  20. void GenMatRotY(RealType CosTeta, RealType SinTeta, MatrixType Mat);
  21. void GenMatRotZ1(RealType Teta, MatrixType Mat);
  22. void GenMatRotZ(RealType CosTeta, RealType SinTeta, MatrixType Mat);
  23.  
  24. void MultTwo4by4(MatrixType MatRes, MatrixType Mat1, MatrixType Mat2);
  25.  
  26. void MultVecby4by4(RealType VRes[3], RealType Vec[3], MatrixType Mat);
  27.  
  28. #if defined(__cplusplus) || defined(c_plusplus)
  29. }
  30. #endif
  31.  
  32. #endif /* GEN_MAT_H */
  33.